body {
	margin: 0;
	font-size: 14px !important;
	overflow: hidden;

	// 全局表单查看样式
	:global {
		.ant-table-cell-ellipsis {
			max-width: 400px;
			text-overflow: ellipsis;
			white-space: nowrap;
			overflow: hidden;
		}
		.ant-input[disabled],
		.ant-picker-disabled,
		.ant-input-number-disabled,
		.ant-select-disabled.ant-select:not(.ant-select-customize-input)
			.ant-select-selector {
			color: @text-color;
			text-overflow: ellipsis;
			background: none;
			border: none;
			cursor: default;
			resize: none;
			.ant-select-selection-placeholder {
				display: none;
			}
		}
		.ant-select-disabled {
			.ant-select-selector {
				.ant-select-selection-item {
					line-height: 36px;
				}
			}
		}
		.ant-select-multiple .ant-select-selection-item-content {
			line-height: 24px;
		}

		.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
			background-color: #eef8f7;
		}
		table {
			.ant-tree-select {
				.ant-select-selector {
					.ant-select-selection-overflow {
						flex-wrap: initial;
					}
				}
			}
		}

		.ant-picker.ant-picker-disabled {
			color: @text-color;
			text-overflow: ellipsis;
			background: none;
			border: none;
			cursor: default;
			resize: none;
			input[disabled] {
				color: @text-color;
			}
		}

		.ant-input-number.ant-input-number-disabled
			+ .ant-input-number-group-addon {
			display: none;
		}
		.ant-select-multiple.ant-select-disabled.ant-select:not(
				.ant-select-customize-input
			)
			.ant-select-selector {
			background-color: transparent;
			.ant-select-selection-item {
				background: transparent;
				border: none;
				color: #333;
			}
		}
		.ant-select-disabled {
			.ant-select-arrow {
				display: none;
			}
		}

		.ant-picker-disabled {
			.ant-picker-input {
				.ant-picker-suffix {
					display: none;
				}
			}
		}

		.ant-select-single.ant-select-show-arrow .ant-select-selection-item {
			padding-right: 0;
		}
		.ant-upload-list {
			.ant-upload-list-item {
				margin-top: 0;
			}
		}
		.ant-collapse {
			.ant-collapse-header {
				.ant-collapse-expand-icon {
					span {
						cursor: pointer;
					}
				}
			}
		}

		.ant-form-item-explain-error {
			line-height: 34px;
		}

		.ant-form-item-label > label::after {
			content: ':';
			position: relative;
			margin-block: 0;
			margin-inline-start: 2px;
			margin-inline-end: 8px;
		}
		.ant-form-item-label > label {
			color: @text-color;
		}

		.ant-btn-link {
			color: @primary-color;
		}
		a {
			color: @primary-color;
		}
		a:hover {
			color: @primary-color;
		}
		.ant-picker {
			width: 100%;
		}
		// 超出隐藏
		.ellipsis {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
		.required {
			color: #ff4949;
		}
		.ant-transfer-list {
			width: 100%;
		}
	}
}

.layout {
	height: 100vh;
	// width: 100vw;
	display: flex;

	:global {
		.right-layout {
			min-width: 0px;
			overflow: scroll;
			.ant-layout-header {
				background: #fff;
				padding: 0px;
			}
		}

		.page-layout {
			height: 100%;
		}

		.content-area {
			overflow: auto;
			padding: 12px;
			height: 100%;
			box-sizing: border-box;
		}

		.go-back {
			background: #fff;
			padding: 6px 32px;
			font-size: 16px;
			margin: 10px 0;
			&-container {
				width: 100%;
				background-color: #fff;
			}
			&-text {
				margin-left: 10px;
			}
		}
	}
}

.layout-amendment {
	height: calc(100vh - 105px);
}
.header {
	display: flex;
	height: 64px;
	overflow: hidden;
	justify-content: space-between;

	:global {
		.menu-left {
			display: inline-block;
			width: calc(100% - 500px);

			.ant-menu {
				font-size: 18px;
				font-family: PingFangSC-Medium, PingFang SC;
				font-weight: 500;
				color: #001529;
			}

			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu {
				padding: 0 25px;
			}

			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open,
			.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-submenu-selected {
				color: @primary-color;
			}

			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-item:hover::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-submenu:hover::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-item-active::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-submenu-active::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-item-open::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-submenu-open::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-item-selected::after,
			.ant-menu-horizontal:not(.ant-menu-dark)
				> .ant-menu-submenu-selected::after {
				border-bottom: 2px solid @primary-color;
			}

			.ant-menu-item-icon {
				font-size: 20px;
			}
		}

		.menu-right {
			display: inline-block;
			display: flex;
			border-bottom: 1px solid #f0f0f0;
			/* co1umn 从上到下*/
			align-items: center;
			.search {
				width: 200px;
			}

			.input {
				width: 200px;

				.anticon {
					color: @primary-color;
					font-size: 18px;
				}
			}

			.message {
				cursor: pointer;
				color: @primary-color;
				margin: 0 24px;
				font-size: 24px;
			}

			.user {
				margin: 0 24px;
				font-size: 18px;
				font-family: PingFangSC-Regular, PingFang SC;
				font-weight: 400;
				color: rgba(0, 0, 0, 0.65);
				max-width: 120px;
				overflow: hidden; //超出的文本隐藏
				text-overflow: ellipsis; //溢出用省略号显示
				white-space: nowrap; // 默认不换行；
				line-height: 22px;
			}

			.select {
				margin-right: 30px;
			}
		}
	}
}

.sider {
	height: inherit;
	user-select: none;

	:global {
		.header {
			display: flex;
			align-items: center;
			width: 100%;
			justify-content: flex-start;
			padding: 0 12px;
			background: #ffffff;

			.ant-image {
				flex-shrink: 0;

				img {
					background: none;
					vertical-align: baseline;
				}
			}

			.title {
				font-size: 22px;
				flex-grow: 1;
				color: @primary-color;
				font-weight: 500;
				margin-left: 12px;
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
				text-align: center;
			}
		}

		.content {
			.menu {
				height: 100%;
				overflow: hidden;
				overflow-y: auto;
				background: @primary-color;
				color: #ffffff;
			}

			// 清除滚动条
			scrollbar-width: none;
			-ms-overflow-style: none;

			::-webkit-scrollbar {
				display: none;
			}

			> .ant-menu {
				> .ant-menu-item-only-child:hover {
					color: #ffffff;
				}
				> .ant-menu-submenu {
					// 修改选中菜单样式
					> .ant-menu-submenu-title {
						margin: 0px;
						height: 48px;
						line-height: 48px;
						font-size: 16px;
						> .ant-menu-submenu-arrow {
							color: #ffffff;
						}
					}

					> .ant-menu-submenu-title:hover {
						color: #ffffff;
					}
				}
				> .ant-menu-submenu:hover
					> .ant-menu-submenu-title
					> .ant-menu-submenu-expand-icon,
				> .ant-menu-submenu:hover
					> .ant-menu-submenu-title
					> .ant-menu-submenu-arrow {
					color: #ffffff;
				}
				> .ant-menu-submenu-selected {
					color: #ffffff;
				}
			}

			.ant-menu-sub.ant-menu-inline
				> .ant-menu-submenu
				> .ant-menu-submenu-title {
				font-size: 16px;
			}
			.ant-menu-submenu-arrow {
				color: @primary-color;
			}

			.ant-menu-item {
				margin: 0px;
				height: 48px;
				line-height: 48px;
				font-size: 16px;
			}
			// .ant-menu-light .ant-menu-item:hover {
			//   color: #fff;
			// }

			.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
				background: #c4f2ee;
				color: @primary-color;
			}
		}
	}
}
